﻿<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
        <title>管理员编辑</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="renderer" content="webkit">

        <link rel="shortcut icon" href="assets/img/favicon.ico" />
        <!-- Loading Bootstrap -->
        <link href="assets/css/backend.min.css" rel="stylesheet">

        <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
        <!--[if lt IE 9]>
          <script src="assets/js/html5shiv.js"></script>
          <script src="assets/js/respond.min.js"></script>
        <![endif]-->
        <script type="text/javascript">
            var require = {
                "config": {
                    "site": {
                        "name": "FastAdmin",
                        "cdnurl": "./",
                        "version": "1.0.0",
                        "timezone": "Asia/Shanghai",
                        "languages": {
                            "backend": "zh-cn",
                            "frontend": "zh-cn"
                        }
                    },
                    "upload": {
                        "cdnurl": "./",
                        "uploadurl": "data/upload.json",
                        "bucket": "yourbucketname",
                        "maxsize": "10mb",
                        "mimetype": "*",
                        "multipart": {
                            "policy": "eyJidWNrZXQiOiJ5b3VyYnVja2V0bmFtZSIsInNhdmUta2V5IjoiXC91cGxvYWRzXC97eWVhcn17bW9ufXtkYXl9XC97ZmlsZW1kNX17LnN1ZmZpeH0iLCJleHBpcmF0aW9uIjoxNTAwNTI2NTczLCJub3RpZnktdXJsIjoiaHR0cDpcL1wvd3d3LnlvdXJzaXRlLmNvbVwvdXB5dW5cL25vdGlmeSJ9",
                            "signature": "043eaf09c0319b1a9a11d06511bfdc4e",
                            "bucket": "yourbucketname",
                            "save-key": "/uploads/{year}{mon}{day}/{filemd5}{.suffix}",
                            "expiration": 1500526573,
                            "notify-url": "http://www.yoursite.com/upyun/notify"
                        },
                        "multiple": false
                    },
                    "modulename": "admin",
                    "controllername": "admin",
                    "actionname": "edit",
                    "jsname": "backend/auth/admin",
                    "moduleurl": "./",
                    "language": "zh-cn",
                    "referer": null
                }
            };
        </script>
    </head>

    <body class="inside-header inside-aside is-dialog">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    控制台                                    <small>Control panel</small>
                                </h1>
                            </section>
                            <div class="content">
                                <form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="data/edit.json">
                                    <!--<div class="form-group">
                                        <label for="role_id" class="control-label col-xs-12 col-sm-2">*数据权限:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <span><font color="red">*选择登录账号可以查看哪些项目的维保修工单</font></span>
                                            <div id="jstree2" style="margin: 10px 0 0 -10px;">
                                                <ul>
                                                    <li class="jstree-open">
                                                        <a href="i_region.html">富力物业服务集团</a>
                                                        <ul>
                                                            <li data-jstree='{"type":"icon"}'>
                                                                <a href="i_company.html">华北区域</a>
                                                                <ul>
                                                                    <li data-jstree='{"type":"icon"}'>
                                                                        <a href="i_account.html"> 北京</a>
                                                                        <ul>
                                                                            <li data-jstree='{"type":"icon"}'>
                                                                                <a href="i_building.html"> 富力家园</a>
                                                                            </li>

                                                                        </ul>
                                                                    </li>
                                                                </ul>
                                                            </li>
                                                            <li class="jstree-open" data-jstree='{"type":"icon"}'>
                                                                华南区域
                                                            </li>

                                                            <li class="jstree-open" data-jstree='{"type":"icon"}'>
                                                                西北区域
                                                            </li>

                                                        </ul>
                                                    </li>
                                                </ul>
                                            </div>                                            
                                        </div>
                                    </div>-->
                                    <div class="form-group">
                                        <label for="nickname" class="control-label col-xs-12 col-sm-2">*公司名称:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="text" class="form-control" id="nickname" name="row[nickname]" value="北京天力建筑工程有限公司" data-rule="required" />
                                        </div>
                                    </div>
                                    <!--<div class="form-group">
                                        <label for="username" class="control-label col-xs-12 col-sm-2">*账号信息:</label>
                                        <div class="col-xs-12 col-sm-8" style="padding-left: 2px;">
                                            <dl class="fieldlist" rel="1" data-name="row[languages]">
                                                <dd class="form-inline" style="margin-left:12px;">
                                                    <input type="text" name="row[languages][value][backend]" class="form-control" placeholder="姓名" value="" size="40" />
                                                    <input type="text" name="row[languages][value][backend]" class="form-control" placeholder="电话" value="" style="width:120px;" size="40" />
                                                    <input type="password" class="form-control" id="password" name="row[password]" placeholder="密码" value="" style="width:100px;" data-rule="password" />
                                                    <select id="c-type" class="form-control" name="row[type]">
                                                        <option value="0">启用</option>
                                                        <option value="1">禁用</option>
                                                    </select>
                                                    <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
                                                </dd>
                                                <dd style="margin-left:12px;"><a href="javascript:;" class="append btn btn-sm btn-success"><i class="fa fa-plus"></i> 追加</a></dd>
                                            </dl>
                                        </div>
                                    </div>-->
                                    <div class="form-group">
                                        <label for="username" class="control-label col-xs-12 col-sm-2">*姓名:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="text" class="form-control" id="username" name="row[username]" value="admin2" data-rule="required;username" />
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="phone" class="control-label col-xs-12 col-sm-2">*手机:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="text" class="form-control" id="phone" name="row[phone]" value="13910473333" data-rule="" />
                                        </div>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label for="password" class="control-label col-xs-12 col-sm-2">*密码:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <input type="password" class="form-control" id="password" name="row[password]" value="" data-rule="password" />
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="content" class="control-label col-xs-12 col-sm-2">*状态:</label>
                                        <div class="col-xs-12 col-sm-8">
                                            <label for="row[status]-normal"><input id="row[status]-normal" checked="checked" name="row[status]" type="radio" value="normal"> 启用</label> <label for="row[status]-hidden"><input id="row[status]-hidden" name="row[status]" type="radio" value="hidden"> 禁用</label>        </div>
                                    </div>
                                    <div class="form-group hidden layer-footer">
                                        <label class="control-label col-xs-12 col-sm-2"></label>
                                        <div class="col-xs-12 col-sm-8">
                                            <button type="submit" class="btn btn-success btn-embossed disabled">确定</button>
                                            <button type="reset" class="btn btn-default btn-embossed">重置</button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="assets/js/require.min.js" data-main="assets/js/require-backend.min.js"></script>
    </body>
</html>